@model CrazyToDo.Web.Models.TipViewModel
@*
    For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
    Layout = null;
}
@if ( @Model.IsSuccess == true){
    <div id="modify-Password" class="alert alert-success" style="width:500px">
        <a href="#" class="close" data-dismiss="alert">&times;</a>
        <strong>成功！</strong>修改密码成功。
    </div>

}
@if (@Model.IsSuccess == false)
{
<div id="modify-Password" class="alert alert-warning" style="width:500px">
    <a href="#" class="close" data-dismiss="alert">&times;</a>
    <strong>失败！</strong>请输入正确密码。
</div>
}

<script type="text/javascript">
$(function(){
	$(".close").click(function(){
        $("#modify-Password").alert();
	});
});
</script> 